package models

import "gorm.io/gorm"

type Msg struct {
	Code int
	Msg  string
	Data any
}
type User struct {
	Image string  `gorm:"type:text"`
	Name  string  `gorm:"type:varchar(30)"`
	Tel   string  `gorm:"type:varchar(11)"`
	Level string  `gorm:"type:enum('普通会员','黄金会员','vip会员')"`
	From  string  `gorm:"type:enum('App','小程序','H5','PC')"`
	Price float64 `gorm:"type:float(10,2)"`
	Type  string  `gorm:"type:enum('正常','黑名单')"`
	gorm.Model
}
